<layout name="layout" />
<div class="user_main">
    <ul class="user_main_nav">
        <li class="hover">新 发 布</li>
        <li><a href="{:U('User/Gezi/gezilist', array('type'=>'fabu'))}">已 发 布</a></li>
        <li><a href="{:U('User/Gezi/gezilist', array('type'=>'outoftime'))}">已 过 期</a></li>
    </ul>
    <div class="user_main_title">发布格子</div>
    <div class="content_box">

        <div class="CAPION">
            带 <i class="CF00">勾选框</i>
            项目为付费功能
        </div>
        <div class="user_form_information">
            <form action="__SELF__" name="art_add" method="post" enctype="multipart/form-data">
                <div class="li">
                    文字描述： <i class="CF00">*</i><input name="content" type="text" class="txt t260" />
                </div>
                <div class="li">
                    发布图片： <i class="CF00">*</i>
                </div>
                <div class="li">
                    &nbsp;&nbsp;&nbsp;&nbsp;小图
                    <input name="s_img" type="file">
                    <span>建议图片尺寸160像素*160像素</span>
                </div>
                <div class="li">
                    <input type="checkbox" name="img_zoom" value="1" onclick="javascritp:zoomScore()">
                    放大图
                    <input name="b_img" type="file"><i class="CF00">(需要支付<b id="tip_zoom">0</b>金币)</i></br> 
                    <span style="margin-left: 288px">  建议图片尺寸180像素*180像素</span>
                </div>

                <div class="li">
                    <table>
                        <tr>
                            <td width="80" height="40">
                                <input type="checkbox" name="link_status" value="1"  onclick="javascritp:linkScore()">
                                链接地址:</td>
                            <td>
                                <input type="text" class="txt t260" name="link" >
                                <span>(选择支付 20金币/24小时)</span>
                            </td>
                        </tr>
                        <tr>
                            <td></td>
                            <td>
                                <input type="text" class="txt t43" value="7" name="link_days" onchange="javascritp:linkScore()">
                                * 24小时
                                <i class="CF00">(需要支付<b id="tip_link">0</b>金币)</i>
                            </td>
                        </tr>
                    </table>
                </div>

                <div class="li">
                    <table>
                        <tr>
                            <td width="80" height="40">
                                <input name="page_status" type="checkbox" value="1"  onclick="javascritp:pageScore()">次级页面</td>
                            <td>
                                <a href="{:U('User/Article/add')}" target="_blank"  onclick="getArticleID();" id="editConPage">(点击编辑次级页界面)</a>
                            </td>
                        </tr>
                        <tr>
                            <td></td>
                            <td>
                                <input name="page_id" type="hidden" class="txt t43" value="" >
                                <input name="page_days" type="text" class="txt t43" value="7"  onchange="javascritp:pageScore()" >
                                * 24小时
                                <i class="CF00">(需要支付<b id="tip_page">0</b>金币)</i>
                            </td>
                        </tr>
                    </table>

                    <table class="martop10">
                        <tr>
                            <td width="70" height="40">发布时间：</td>
                            <td>
                                <input name="days_status" type="radio" value="0" onclick="javascritp:dayScore()" >
                                24小时
                                <i class="CF00">(免费)</i>
                                &nbsp;
                                <input name="days_status" type="radio" value="1" onclick="javascritp:dayScore()">
                                <input name="days" type="text" class="txt t43" value="7" onchange="javascritp:dayScore()">
                                * 24小时
                                <i class="CF00">(需要支付<b id="tip_day_pay">0</b>金币)</i>
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="li"> <strong>总计花费：
                        <i class="CF00"><b id="tip_total">0</b>金币</i></strong> 
                </div>
                <script type="text/javascript">
                    $(function(){zoomScore();dayScore();pageScore();linkScore();countScoreSum();});
                </script>
                <div class="clear"></div>
                <div class="li but martop10">
                    <input type="submit" class="s" value=" ">
                    &nbsp;&nbsp;&nbsp;&nbsp;
<!--                    <input type="reset" class="r" value=" ">-->
                </div>

            </form>

        </div>
    </div>
    <div class="content_box" style="display:none;">已 发 布</div>
    <div class="content_box" style="display:none;">过期发布</div>
</div>
<!---->
</div>
<!----> 
<div class="common_right">
    <div class="Cad">{:getBlock('common_right_ad1')}</div>
    <div class="Cad martop10">{:getBlock('common_right_ad2')}</div>
    <div class="CR_title"><i><a href="{:U('Home/Search/index')}">更多&gt;&gt;</a></i><strong>推荐信息</strong></div>

    <ul class="Recommend_information">
        <volist name="rounddz" id="rdz">
            <li>
                <div class="img"><img src="{$rdz.img_url}"></div>
                <dl>
                    <dt><a href="{:U('Home/Dazhe/show', array('id'=>$rdz['dazhe_id']))}">{$rdz.title}</a></dt>
                    <dd class="s">{$rdz.user_id|getUserName}</dd>
                    <dd>时间：{$rdz.create_time|date="Y-m-d", ###}</dd>
                </dl>
            </li>     
        </volist>   
    </ul>
</div>